package com.offcn.search.feign;

import com.offcn.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author ld
 * @date 2021/9/16 16:12
 */
@FeignClient(name = "DYM-SEARCH")
@RequestMapping("/search")
public interface SearchSkuFeign {
    @GetMapping("/search")
     Result search(@RequestParam(required = false) Map<String,String> searchMap);
}
